#ifndef _TEACHERPHONEDBSAVINGCONTROLLER_H
#define _TEACHERPHONEDBSAVINGCONTROLLER_H


#include "../ITeachePhoneDbSavingController.h"
#include <string>
using namespace std;

//*
// * Controller class which is responsible for saving teacher phone to database
// * Implements ITeacherAddressDbSavingController
class TeacherPhoneDbSavingController : public ITeacherPhoneDbSavingController {
  public:
    //*
    //	 * Empty constructor which does nothing
    TeacherPhoneDbSavingController();

    //*
    //	 * Does nothing
    virtual ~TeacherPhoneDbSavingController();

    //*
    //	 *	Implements the business politic for saving teacher phone to database
    //	 *
    //	 *	\param	insuranceNumber, owner's insurance number
    //	 *	\param	number, the phone number
    //	 *	\param	category, phone's category (ex. home,fax,mobile,...)
    //	 *
    //	 *	\return true, if teacher's phone has been saved
    virtual bool saveTeacherPhone(const string * insuranceNumber, const string * number, const string * category);

};
#endif
